package com.ali.springcloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ：ALi
 * @date ：Created in 2022/6/30 15:23
 * @description：启动类
 * @modified By：
 * @version: $
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement//开启事物注解
@EnableCaching//开启缓存注解
@EnableEurekaClient//eureka客户端
public class PaymentMain8002 {

    public static void main(String[] args) {

        SpringApplication.run(PaymentMain8002.class,args);
        log.info("PaymentMain8002项目启动成功...");
    }
}